package com.trimps.wifi.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.trimps.wifi.pojo.FlowData;

public interface TogertherDataMapper {

    /**
     * 根据关键词获取
     * @param rowPerPage 
     * @param start 
     * @param
     * @return
     */
    List<FlowData> getTogertherListByKeyword(@Param("macType")String macType,
                    @Param("deviceMac")String deviceMac,@Param("deviceNo")String deviceNo,
                    @Param("startTime")String startTime,@Param("endTime")String endTime,
                    @Param("start") int start, @Param("rowPage")int rowPerPage);

    /**根据关键词获取数量
     * @param 
     * @return
     */
    int getTogertherListCountByKeyword(@Param("macType")String macType,
                    @Param("deviceMac")String deviceMac,@Param("deviceNo")String deviceNo,
                    @Param("startTime")String startTime,@Param("endTime")String endTime);

}
